package com.edar.util;

import org.dozer.DozerBeanMapper;

/**
 * 可选的WebService辅助基类.
 * 暂时只提供了公共的logger和dozer及转换未知错误的方法,日后将提供更多公共能力.
 * 
 */
public final class DozerMapperSingleton {

	private static DozerBeanMapper instance;

	private DozerMapperSingleton() {
	}

	public static synchronized DozerBeanMapper getInstance() {
		if (instance == null) {
			instance = new DozerBeanMapper();
		}
		return instance;
	}
}
